﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewDetailOfRequisition.aspx.cs" Inherits="PresentationLayer.ViewDetailOfRequisition" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>View Detail of Requisiton</h2>
        <label class="control-label col-sm-4" for="ddlEmployee">Employee Name:</label> 
        <asp:Label ID="lblEmpName" runat="server" cssClass="control-label" Text="Label"></asp:Label>

        <asp:GridView ID="gvReqDetail" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="ItemName" HeaderText="Item Name">
                         <ItemStyle BorderStyle="Solid" />
                     </asp:BoundField>
                    <asp:BoundField DataField="CategoryName" HeaderText="Category">
                         <ItemStyle BorderStyle="Solid" />
                     </asp:BoundField>
                     <asp:BoundField DataField="RequestQty" HeaderText="Requested Qty" >
                         <ItemStyle BorderStyle="Solid" />
                </asp:BoundField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:RadioButton ID="rdoApprove" runat="server" GroupName="rdo" Checked="True" Text="Approve" />
                        <asp:RadioButton ID="rdoReject" runat="server" GroupName="rdo" Text="Reject" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:TextBox ID="txtReason" runat="server" Height="23px" Width="255px"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            
        </asp:GridView>

        <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="Back" />
    </div>
    </form>
</body>
</html>
